package com.tracy.life.bean;

import java.util.List;

/**
 * ***********************************************************
 * author: tracy
 * time: 2016/7/19 22:16
 * name:
 * overview:
 * usage:主页最上面的广告图片的Bean对象
 * *************************************************************
 */
public class BannerBean {

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 121
         * image_url : http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160718/487en2weh.jpg-w720
         * order : 89
         * status : 0
         * target : {"banner_image_url":"http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160718/yjsca2ckp.jpg-w300","cover_image_url":"http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160718/7niewi2nw.jpg-w720","created_at":1468839767,"id":46,"posts_count":10,"status":1,"subtitle":"学会装饰很重要","title":"夏天的家要怎样装才能清凉十足？","updated_at":1468839767}
         * target_id : 46
         * target_url :
         * type : collection
         */

        private List<BannersBean> banners;

        public List<BannersBean> getBanners() {
            return banners;
        }

        public void setBanners(List<BannersBean> banners) {
            this.banners = banners;
        }

        public static class BannersBean {
            private String image_url;
            /**
             * banner_image_url : http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160718/yjsca2ckp.jpg-w300
             * cover_image_url : http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160718/7niewi2nw.jpg-w720
             * created_at : 1468839767
             * id : 46
             * posts_count : 10
             * status : 1
             * subtitle : 学会装饰很重要
             * title : 夏天的家要怎样装才能清凉十足？
             * updated_at : 1468839767
             */

            private TargetBean target;
            private int target_id;
            private String type;

            public String getImage_url() {
                return image_url;
            }

            public void setImage_url(String image_url) {
                this.image_url = image_url;
            }

            public TargetBean getTarget() {
                return target;
            }

            public void setTarget(TargetBean target) {
                this.target = target;
            }

            public int getTarget_id() {
                return target_id;
            }

            public void setTarget_id(int target_id) {
                this.target_id = target_id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public static class TargetBean {
                private int id;
                private int posts_count;
                private String subtitle;
                private String title;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getPosts_count() {
                    return posts_count;
                }

                public void setPosts_count(int posts_count) {
                    this.posts_count = posts_count;
                }

                public String getSubtitle() {
                    return subtitle;
                }

                public void setSubtitle(String subtitle) {
                    this.subtitle = subtitle;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
